package com.hurt.competition.admin.service.impl;

import com.hurt.competition.admin.dto.AdLoginReq;
import com.hurt.competition.admin.mapper.AdLoginMapper;
import com.hurt.competition.admin.model.AdLogin;
import com.hurt.competition.admin.service.AdLoginService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class AdLoginServiceImpl implements AdLoginService{
    @Autowired
    private AdLoginMapper adLoginMapper;

    @Override
    public AdLoginReq adminLogin(String admin_name, String admin_pwd){
        return adLoginMapper.adminLogin(admin_name,admin_pwd);
    }
}

